//
//  CalendarButton.m
//  project
//
//  Created by 黄建华 on 2017/11/24.
//  Copyright © 2017年 黄建华. All rights reserved.
//

#import "CalendarButton.h"

@implementation CalendarButton

/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect {
 // Drawing code
 }
 */

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self setImageNormal:@"日历"];
        [self loadView];
    }
    return self;
}

- (void)loadView {
    _selectDateLabel               = [[UILabel alloc] init];
    _selectDateLabel.textColor     = SNCOLOROrange;
    _selectDateLabel.font          = SNFONT(8.5);
    _selectDateLabel.frame         = SNFRAME(0, 14, 44, 20);
    _selectDateLabel.textAlignment = NSTextAlignmentCenter;
    [self addSubview:_selectDateLabel];
}

@end

